Skip to content

ci: add weekly scheduled dependency check; adopt ruff 0.16.0 - #83

Merged
lesnik512 merged 1 commit into
mainfrom
ci/scheduled-check-and-ruff-0.16
Jul 27, 2026
Merged

ci: add weekly scheduled dependency check; adopt ruff 0.16.0#83
lesnik512 merged 1 commit into
mainfrom
ci/scheduled-check-and-ruff-0.16

Conversation

@lesnik512

Copy link
Copy Markdown
Member

compose2pod had no scheduled dependency check. When ruff 0.16.0 landed on 2026-07-23, twelve sibling repos failed their Monday run and filed tracking issues — this repo was in exactly the same state but had nothing to tell anyone, so it would have failed on whatever unrelated PR came next.

The check

Adds the same pair the other repos use, unmodified except for the dependency list in the issue body:

  • .github/workflows/scheduled.yml — Mondays 06:00 UTC, calls the existing _checks.yml, opens/updates a scheduled-failure issue on failure.
  • .github/scripts/report-scheduled-failure.sh — idempotent label + one open issue at a time.

This repo runs uv lock --upgrade in just install, so CI already resolves fresh on every run; the scheduled job gives that a fixed cadence and a reporting path.

The drift it would have caught

  • CPY001 (missing-copyright-notice) left preview in 0.16.0, so select = ["ALL"] now selects it — 52 hits. Ignored, matching the existing entry in modern-di.
  • ISC004 ×1, autofixable — taken as-is. The only .py change; it parenthesizes an implicit concatenation, same resulting string.
  • Markdown formatting is new in 0.16.0 — 11 planning bundles reformatted.

Verified against ruff 0.15.22: check and format were both clean, so every finding is new in 0.16.0. Confirmed the upgrade happens on install: - ruff==0.15.22 / + ruff==0.16.0.

Verification

just lint-ci green; just test-ci green (1403 passed, 100% coverage). The integration and conformance jobs need podman and docker, neither available on this machine — CI covers those.

🤖 Generated with Claude Code

compose2pod had no scheduled check, so dependency drift only surfaced when
someone happened to open a PR. Twelve sibling repos caught ruff 0.16.0 on
Monday and filed issues; this repo was silently in the same state. Add the
same scheduled.yml + report-scheduled-failure.sh pair they use.

The drift it would have caught, fixed here: ruff 0.16.0 stabilized CPY001
out of preview, so `select = ["ALL"]` now picks it up (52 hits) — ignore it,
matching modern-di. One ISC004 autofix. 0.16.0 also formats Python code
blocks inside Markdown; reformat the 11 affected planning bundles.
@lesnik512
lesnik512 merged commit 59f2a39 into main Jul 27, 2026
8 checks passed
@lesnik512
lesnik512 deleted the ci/scheduled-check-and-ruff-0.16 branch July 27, 2026 13:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant